package com.ynet.finmall.model;

import java.io.Serializable;
import java.util.Date;

public class ImLog implements Serializable {
    /**
     * 日志编号
     */
    private String logId;

    /**
     * 柜员编号
     */
    private String userId;

    /**
     * 操作结果（00000000表示成功，否则为错误代码）
     */
    private String logResult;

    /**
     * 操作描述
     */
    private String logDesc;

    /**
     * 操作接口
     */
    private String logInterface;

    /**
     * 操作参数
     */
    private String logArgs;

    /**
     * 操作时间
     */
    private Date logTime;

    private static final long serialVersionUID = 1L;

    public String getLogId() {
        return logId;
    }

    public void setLogId(String logId) {
        this.logId = logId == null ? null : logId.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getLogResult() {
        return logResult;
    }

    public void setLogResult(String logResult) {
        this.logResult = logResult == null ? null : logResult.trim();
    }

    public String getLogDesc() {
        return logDesc;
    }

    public void setLogDesc(String logDesc) {
        this.logDesc = logDesc == null ? null : logDesc.trim();
    }

    public String getLogInterface() {
        return logInterface;
    }

    public void setLogInterface(String logInterface) {
        this.logInterface = logInterface == null ? null : logInterface.trim();
    }

    public String getLogArgs() {
        return logArgs;
    }

    public void setLogArgs(String logArgs) {
        this.logArgs = logArgs == null ? null : logArgs.trim();
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", logId=").append(logId);
        sb.append(", userId=").append(userId);
        sb.append(", logResult=").append(logResult);
        sb.append(", logDesc=").append(logDesc);
        sb.append(", logInterface=").append(logInterface);
        sb.append(", logArgs=").append(logArgs);
        sb.append(", logTime=").append(logTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}